﻿/*
 * Copyright (c) United Binary LLC.  All rights reserved.
 * 
 * This code is licensed under the MIT License
 * 
 * SEE: http://harnessit.codeplex.com/license
 * 
 */
using System;

namespace UnitedBinary.UnitTests.Framework
{
	/// <include file='comments.xml' path='Docs/ITest/Interface/*'/>
	public interface ITest
	{
		/// <include file='comments.xml' path='Docs/ITest/Are/*'/>
		Are Are { get; }
		/// <include file='comments.xml' path='Docs/ITest/Is/*'/>
		Is Is { get; }
		/// <include file='comments.xml' path='Docs/TestMethodRecord/RegisterException_string_Type/*'/>
		void RegisterException(string description, Type type);
		/// <include file='comments.xml' path='Docs/TestMethodRecord/RegisterException_string/*'/>
		void RegisterException(string description);
		/// <include file='comments.xml' path='Docs/TestMethodRecord/RunTest/*'/>
		bool RunTest(bool assertion, string description);
		/// <include file='comments.xml' path='Docs/TestMethodRecord/RunTest_bool/*'/>
		bool RunTest(bool assertion);
		/// <include file='comments.xml' path='Docs/TestMethodRecord/WriteLine/*'/>
		void WriteLine(string message);
	}
}